package cn.glutnn.subject.domain.handler.subject;

import cn.glutnn.subject.common.enums.SubjectInfoTypeEnum;
import cn.glutnn.subject.domain.enyity.SubjectInfoBO;
import cn.glutnn.subject.domain.enyity.SubjectOptionBO;

/**
 * Author:   msh
 * Date:     2024/11/28 下午2:45
 * Description:
 */
public interface SubjectTypeHandler {
    /**
     * 枚举身份的识别
     * @return
     */
    SubjectInfoTypeEnum getHandlerType();

    /**
     * 实际题目的插入
     * @param subjectInfoBO
     */
    void add(SubjectInfoBO subjectInfoBO);

    SubjectOptionBO query(Long subjectId);
}
